<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			/*
			  if(条件表达式){
				  
			  }else if(条件表达式){
				  
			  }else if(条件表达式){
				  
			  }
			  ...
			  }else {
				  
			  }
			*/
			var week = 3;
			if (week == 1) {
				console.log("周一")
			} else if (week == 2) {
				console.log("周二")
			} else if (week == 3) {
				console.log("周三")
			} else if (week == 4) {
				console.log("周四")
			} else if (week == 5) {
				console.log("周五")
			} else {
				console.log("无");
			}


			/*
			  根据用户输入的金额，判断输出对应的目的地
			  > 10000 欧洲游
			  > 8000 云南游
			  > 5000 湖南游
			  > 3000 北京
			  > 1000 上海
			  > 500 本地
			*/
		   var money = 6000;
		   if(money > 5000){
			   if(money > 8000){
				   
			   }else{
				   
			   }
		   }else{
			   
		   }

			var money = 6000;
			if (money > 10000) {
				console.log("欧洲游");
			} else if (money > 8000) {
				console.log("云南游");
			} else if (money > 5000) {
				console.log("湖南游")
			}

			/* if (money > 10000) {
				console.log("欧洲游");
			}
			if (money > 8000 && money < 10000) {
				console.log("云南游")
			}
			if (money > 5000 && money < 8000) {
				console.log("湖南游")
			} */
		</script>
	</head>
	<body>
	</body>
</html>
